/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wf.dto;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frawor2.pfvalpage",
            query = "select *  from frawor2.pfvalpage(:p_co_pagina, :p_id_frawor, :p_co_conten);",
            resultClass = Valpage.class)
})
public class Valpage implements Serializable {

    String pfvalpage;

    @Id
    @Column(name = "pfvalpage")
    public String getPfvalpage() {
        return pfvalpage;
    }

    public void setPfvalpage(String pfvalpage) {
        this.pfvalpage = pfvalpage;
    }

}
